package com.zstk.example.mvc.zcommon.targetdata;

import com.zstk.example.mvc.zcommon.targetdata.zdomain.Test;
import com.zstk.mongo.service.MongoService;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;

import lombok.extern.slf4j.Slf4j;

/**
 * <p>
 * 测试服务实现类
 * </p>
 *
 * @author zxt
 * @since 2022/7/29 11:53
 */
@Service
@Slf4j
public class TestServiceImpl implements TestService {
    @Resource
    MongoService mongoService;

    @Override
    public boolean save(Test test) {
        mongoService.save(test);
        return true;
    }
}
